﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Telerik.Web.UI;
using KPIS.GERP.GIMS.BLL;
using KPIS.GERP.GIMS.IBLL;
using KPIS.GERP.GIMS.MODEL;
using System.Data;

namespace KPIS.GERP.GIMS.APP.APP_UI.Controls.Combo
{
    public partial class CT_YearType : System.Web.UI.UserControl
    {
        IBLLSysYearType bllYearType = new SysYearTypeBLL();
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        public void LoadYearTypeComboBox()
        {
            IList<SysYearTypeInfo> infoList = bllYearType.GetSysYearType();
            cbYearType.DataSource = infoList;
            cbYearType.DataBind();
        }
    }
}